package com.campus.app.service;

import com.campus.commons.entity.Departments;
import com.baomidou.mybatisplus.extension.service.IService;
import com.campus.commons.utils.Result;

/**
 * <p>
 * 部门表 服务类
 * </p>
 *
 * @author Rin
 * @since 2020-12-24
 */
public interface DepartmentssService extends IService<Departments> {
    /**
     * 判断部门是否存在
     *
     * @param fileId
     * @return
     */
    Boolean exists(int fileId);

    /**
     * 获取学社信息；
     * @param id
     * @return
     */
    Result<Departments> getDepartmentById(Integer id);
}
